#ifndef __SOUNDTHREAD_H__
#define __SOUNDTHREAD_H__
#include <jthread.h>
#include <jmutex.h>
#include "SoundInterface.h"
class SoundInterface;
class SoundThread:private JThread
{
public:
	SoundThread(SoundInterface &sdInter);
	~SoundThread();
	int Start();
	void Stop();
private:
	void *Thread();
	bool stop;
	JMutex stop_mutex;
	SoundInterface &m_sdInter;
	
};
#endif